import { defHttp } from '/@/utils/http/axios'

enum Api {
  upload = '/file/upload',
}

/**
 * @description:
 */

export const upload = (data) => {
  return defHttp.post({ url: Api.upload, data,headers:{'Content-Type': 'multipart/form-data'} })
}
